﻿using System;
using System.Data;
using System.Collections.Generic;
using System.Text;
using DAOLayer;
using System.Windows.Forms;

namespace ServiceLayer
{
    using Forms;

    public class CTransport : CDAOTransport
    {
        public CTransport()
            : base()
        {
        }

        public CTransport(CDataBase DataBase, int ID)
            : base(DataBase, ID)
        {

        }

        public void Show()
        {
            FormTransport form = new FormTransport(TransportTypes);
            form.TransportType = TransportType;
            form.GovNumber = GovNumber;
            form.VIN = VIN;
            form.DateTO = DateTO;
            form.Show();
        }
    }
}
